/*
Theme Name: fukua
Theme URI: http://www.ucd.fm/
Description: A basic, yet flexible minimalistic two column theme for WordPress
Version: 0.1
Author: walle
Author URI: http://ucd.fm/
Tags: white, gray, black, two-column, basic, minimalistic, custom-page-templates, left-sidebar
*/

/* update 2012.01.27 7:00 */

/* general layout */
html,body{width:100%;height:100%;overflow:hidden;}

html{
    margin:0;
    padding:0;
}
body {
    font-size: 12px;
    font-family: "Microsoft YaHei","Lucida Grande",Verdana,"Bitstream Vera Sans",Arial,sans-serif;
    color: #555555;
    text-align: center;
    margin:0;
    padding:0;

    position:relative;
    background: #eee url(img/general/background.png) repeat-y;
}

hr{
    border: 1px solid #777777;
} 

/*font styles*/
p {
    font-style : normal; 
    padding: 0px;
} 

h1,h2, h3,h4, h5, h6 { 
    clear: both;
}
blockquote, code {
    margin-left:0px;
    margin-right:0px;
    border-top: 2px solid #EBEBEB;
    border-bottom: 2px solid #EBEBEB;
    background:#f9f9f9;
    padding:5px;
    color:#666;
}

code {}

blockquote:before,blockquote:after,q:before,q:after{content:none}
ul,ol,dl{list-style:none; margin:0;padding:0 }
blockquote,q{quotes:none}

/*tables*/
table {
    color : #111; 
    width: 90%;
    margin: 5px auto;
    padding: 0px;
}
caption {
    color: #333;
    font-weight: normal;
    padding: 5px;
}
td, th, tr {
    padding: 5px;
    text-align:left;
}


/*linkcolor*/
a:link {
    text-decoration : none;
}
a:hover, a:active, a:visited {
    text-decoration : none;
}

/*classes - these are also located in classes.css so child themes don't loose them*/
.center, .aligncenter, .centered {
    text-align: center;
}
.right, .alignright {
    float: right;
}
.left, .alignleft {
    float: left;
}
.none {
    display: none;
}
.righttxt {
    text-align:right;
}
.credits {
    clear:both;
    font-style:italic;
}


/*images these are also located in classes.css so child themes don't loose them*/
img {
    border: none;
    margin: 2px;
}
img.center, img.aligncenter, img.centered {
    display:block;
    margin:5px auto;
}
img.alignright, img.right {
    margin-left: 5px;
}
img.alignleft, img.left  {
    margin-right: 5px;
}
img.rssimg {
    margin:0px;
    position:0,center;
}

.wp-smiley {
    border:none;
    margin:0px;
}


.border {
    border: 1px solid #ccc;
}

/*wrap and header*/

#content_wrap {
	text-align: left;
    position: fixed;
	_position:absolute;
	_height:100%;
	_width:100%;
	z-index:8;
	top: 0;
	right: 0;
	bottom: 0;
	left: 200px;
	_left:0;
	overflow-y: scroll;
	background: #e9e9e9 url(img/general/wrap_bg.png);
	padding: 36px 36px 18px;
	_padding:0;
	color: #444;
	box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

/* 右上flag */
.ucd_flag{
	position: fixed;
	_position: absolute;
	clear: both;
	z-index: 1337;
	top: 0;
	right: 15px;
	zoom: 1;
	width: 340px;
	height: 32px;
	border: 0px;
	background-color: transparent;
	overflow: hidden;
}

.ucd_flag ul,.ucd_flag li,.ucd_flag a,.ucd_flag em{height:23px;line-height:23px;}
.ucd_flag ul{float:right;}
.ucd_flag li{display:inline;float:left;margin:0 5px 0 0;}
.ucd_flag a {
	color:#ffffff;
}
.ucd_flag em{
	background: #888888 url(img/general/flag.png) no-repeat;
	padding:5px 8px 5px 24px;
	font-style:normal;
	
	-moz-border-radius:0px 0px 5px 5px;
    -khtml-border-radius:0px 0px 5px 5px;
    -webkit-border-radius:0px 0px 5px 5px;
    border-radius:0px 0px 5px 5px;
}
.ucd_flag a:hover em{background: #000000 url(img/general/flag.png) no-repeat;}
.ucd_flag .weibo em,.ucd_flag a:hover.weibo em{
	background-position:5px -15px;
}
.ucd_flag .about em,.ucd_flag a:hover.about em{
	background-position:5px -80px;
}
.ucd_flag .love em,.ucd_flag a:hover.love em{
	background-position:5px -35px;
}
.ucd_flag .rss em,.ucd_flag a:hover.rss em{
	background-position:5px -58px;
}
/*end header*/


/*content and post settings*/

#content{ _margin:36px 36px 18px 236px; }
.post{
	margin-bottom: 36px;
}

.post a {
	font-weight: normal;
	color: #444;
}
.post a:hover {
	color:#000;
}

#posts img{ max-width:500px;_width:500px; }

.post_content {
	width: 500px;
	padding: 24px 24px 6px;
	background: #fff url(img/general/post_content_bg.png) repeat-x bottom;
	border-radius: 5px;
	box-shadow: 0 1px 2px #bbb;
	overflow:hidden;
	word-break:break-all;
	word-wrap:break-word;
}

.post .post_content a{text-decoration: underline;}
.post_content .txt {line-height:1.5;margin-bottom: 18px;}
.title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 15px;
	line-height:normal;
}
.post .title a:link{
	text-decoration:none;
    border:none;
    font-weight:bold;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
}
.post .title a:hover{
	border:none;
    text-decoration:none;
    color:#184ef3;
}
.post .title a:visited{
	border:none;
    text-decoration:none;
}
.post_content p, .post_content ul, .post_content ol, .post_content pre, .post_content blockquote {
	line-height: 2;
	margin-bottom: 18px;
}
.post_content ul, .post_content ol { margin-left: 24px; }
.post_content ul { list-style: disc; }
.post_content ol { list-style: decimal; }
.post_content li { line-height: 2; }
.post_content blockquote {
	margin-left: 24px;
	color: #888;
}
.post_info{
	color: #888;
	width: 500px;
	padding: 12px 24px 0;
}
.post_info a{
	font-weight: normal;
	color: #888;
	padding: 0 3px; 
}
.post_info a:hover {
	color:#444;
}

.post_info span {
	padding-left: 18px;
	margin-right: 12px;
}
.post_time { line-height: 18px;background: url(img/general/time.png) no-repeat left center; }
.post_category { line-height: 18px;background: url(img/general/category.png) no-repeat left center; }

.post_tags { line-height: 18px;background: url(img/general/tags.png) no-repeat left center;}
.post_tags a:before { content: ''; }

.post_rss { line-height: 18px;background: url(img/general/rss.png) no-repeat left center;}

/****************ucd.fm******************/

.posthome {
    border-bottom:0px;
    margin-bottom: 20px;
}
.odd_bg{}
.even_bg{
    background:#F9F9F9;
    border-bottom:1px solid #EBEBEB;
    border-top:1px solid #EBEBEB;
}

.sticky {
    padding-left:36px;
    background:url('img/general/sticky.png') no-repeat left center;
}



.page{
    border-bottom:0px;
}

.pagecomments li {
    line-height:15px;
    padding-bottom:5px;
}

/*postnav*/
#postnav {
    clear:both;
    margin:0px;
}
#postnav li {
    display:inline;
    margin: 2px 0px;
}

/*相关文章*/
#content .related_post_title{
    font-size:12px;
}
#content ul.related_post{
    padding:0px;
    list-style:none;
    margin:0px;
    display:inline-block;
    width:100%;
}
#content ul.related_post li{
    float:left;
    font-size:10px;
    margin-right:10px;
}

/*友情链接*/
#content #blogroll-list{
    margin:20px 0px 0px 30px;
    width:280px;
    clear:none;
    float:left;
    white-space:normal;
    word-break:break-all;
    word-wrap:break-word;
    overflow:hidden;
}
#blogroll-list .blogroll-title{
    border-bottom:1px solid #eee;
    margin:0;
    clear:none;
    padding-left:18px;
    background:url("img/general/group.png") no-repeat left center;
}
#blogroll-list ul.blogroll{
    list-style:none;
    margin:0px 0px 0px 0px;
    clear:none;
}

#blogroll-list ul.blogroll li{
    line-height:22px;
    padding:0px 0px 0px 18px;
    background:url("img/general/link.png") no-repeat left center;
}

#blogroll-list a:link {
    color:#555;
    border:none;
}
#blogroll-list a:hover {
    color:#184ef3;
    border:none;
}
#blogroll-list a:visited {
    color:#555;
    border:none;
}

/*comments*/
#comments{
    font-weight: normal;
    margin:20px 0px -5px 5px;
    padding:5px 5px 10px 5px;
    text-align:center;
    background: #ffffff;
    font-size: 12px;

    width:80px;
    clear:both;
    color:#000000;
    border:1px solid #C6C6C6;
    
    box-shadow:0 1px 2px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.commentlist  {
    margin:0px;
    padding:0px;
    border-bottom:1px solid #EBEBEB;
    width: 540px;
}
.commentlist a:link {
    color:#555;
    border:none;
}
.commentlist a:hover {
    color:#184ef3;
    border:none;
}
.commentlist a:visited {
    color:#555;
    border:none;
}

.commentlist li{
    margin: 0px;
    padding: 5px 5px 10px 5px;
    list-style: none;
}
.commentlist li .avatar { 
    float: left;
    border: 1px solid #eee;
    padding: 2px;
    background: #fff;
}
.children { padding: 0; }

.commentlist li ul li{
    margin-right: 0px;
    margin-left: 0px;
}

.nocomments {
    text-align: center;
    margin: 0;
    padding: 0;
    display:none;
}

.commentmetadata {
    margin: 0;
    display: block;
}
.commentlist p {
    font-weight: normal;
    line-height: 1.5em;
    text-transform: none;
    padding-top:5px;
    padding-bottom:3px;
}

.comment-author cite{
    font-style:normal;
    margin:0px 0px 0px 5px;
}
.avatar {
    float:left;
    border: 1px solid #eee;
    padding:2px;
}
.commentlist .commentmetadata a{
    padding:0px 0px 0px 5px;
}

#commentform fieldset {
    padding:0 0 0 2px;
    margin:0;
}
#commentform legend {
    font-weight:bold;
    margin: 10px 0px 5px;
    padding:2px 0px;
}

#commentform p {
    font-weight: normal;
    text-transform: none;
    margin:0px;
}
#commentform textarea {
    width:90%;
    margin:2px 2px 2px 0px;
}
#commentform label{
    display:block;
    clear:both;
}
commentform label.error, label.error {
    color: #FF0000;
}
#commentform input[type=text] {
    width:200px;
    height:20px;
    margin:2px 2px 2px 0px;
    vertical-align:middle;
}
#commentform input[type=submit] {
    background:#F9F9F9;
    width:60px;
    cursor:pointer;
    height:30px;
    font-size:14px;
    font-weight:bold;
    margin:2px 2px 2px 0px;
}
#commentform input[type=submit]:hover {
    border:1px solid #c6c6c6;
    background:#F5F6F7;
    box-shadow:0 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.navigation {
    display: block;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 30px;
    background:#fff6ee;
}
.thread-alt {
    background-color: #f9f9f9;
}
.thread-even {
    background-color: #ffffff;
}
.even, .alt {
    border-left: 1px solid #ebebeb;
}
.depth-1 {
    border-top: 1px solid #ebebeb;
    border-left:0;
}
.reply {
    text-align:right;
    margin:0px 0;
}

.reply a{
    height:25px;
}

.reply a:hover {
    background : #fff;
    height:25px;
}
#cancel-comment-reply small {
    font-size:12px;
    float:right;
}
/*sidebar*/
#sidebar {
    width: 160px;
	overflow:hidden;
	_height:100%;
	position: fixed;
	_position:absolute;
	z-index:10;
	top: 0;
	left: 0;
	bottom: 0;
	padding: 60px 20px 0;
	text-align: right;
	background: #eee url(img/general/background.png) repeat-y;
    
    /**
    -moz-border-radius:0px 0px 10px 0px;
    -khtml-border-radius:0px 0px 10px 0px;
    -webkit-border-radius:0px 0px 10px 0px;
    border-radius:0px 0px 10px 0px;
    */
}
#sidebar ul {
    list-style-type:none;
    margin: 2px 0px 0px 5px;
    padding:0px 0px 0px 5px;
}
#sidebar ul li ul{
	padding:0px;
}
#sidebar li{
    margin:0px;
    padding: 2px 8px 0px 0px;
    color:#888888;
    /*自动换行*/
    white-space:normal;
    word-break:break-all;
    word-wrap:break-word;
    overflow:hidden;
}
#sidebar div {
    margin: 0px;
    padding:0px;
}

#sidebar h1 {
    font-size: 24px;
	font-weight: bold;
	padding-bottom: 11px;
	border-bottom: solid 1px #111;
	box-shadow: 0 1px 0 #333;
	text-shadow: 0 1px 2px #000;
}

#sidebar a h1{ color: #fff; }

#sidebar #bloginfo .description{
	color: #fff;
	font-size:10px;
}

#sidebar h3 {

	display: block;
	padding: 16px 5px 15px 15px;
	height: 16px;
	border-bottom: solid 1px #111;
	box-shadow: 0 1px 0 #333;
	color: #ddd;
	font-weight: bold;
	font-size:14px;
	text-shadow: 0 1px 2px #000;
	-webkit-transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-o-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;

    
    overflow:hidden;
	word-break:break-all;
	word-wrap:break-word;
}

#sidebar li a {
    color:#888888;
    border:none;
}
#sidebar li a:hover {
    color:#fff;
    border:none;
    text-shadow: 0 0 5px rgba(255, 255, 255, .5);
}

#sidebar li p{
    padding:0px 5px 0px 5px;
    margin: 0px 0px 0px 0px;
    clear:both;
    line-height:1.5em;
}
#sidebar li p.about a:link{
    text-decoration: underline;
}
#sidebar li li {
    border:0;
}
#sidebar li li li {
    border:0px;
}

/* 关键词／标签云 */
#sidebar #tagcloud p a{
    background: #ebebeb;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

/*searchform*/
#searchform{
    margin-bottom:3px;
}
#searchform label {
    font-weight:bold;
}
#searchform input#s {
    
    width:50%;
}
#searchform input.submit {
    width:30%;
    border:1px solid #c6c6c6;
    background:#F5F6F7;
    box-shadow:0 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}


/*Widgets fixing*/
/*Callendar*/
#wp-calendar a {
    font-weight:bold;
}
#today {
    background:#eee;
}


/*footer*/

#footer {
	clear:both;
    border-top: solid 1px #ccc;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
	padding-top: 10px;
	margin-top: 25px;
	color: #888;
}
#footer a{color:#444; text-decoration:none;}



/*forms*/
input , textarea, select, option {
    font-size:100%;
    padding: 2px;
    background : #fff;
    color : #111; 
    border: 1px solid #ccc;
    margin: 2px;
}
fieldset, legend {
    background:transparent;
    color : #111; 
    border: none;
    padding: 5px;
}
label, legend {
    font-weight:normal;
}


/*page_commentlist*/
#page_commentbox{
    
}
#page_commentbox ol.commentlist{
	margin-left:0px;
	width: auto;
}
#page_commentbox .commentlist li{
	padding-left:0px;
	line-height:1.5;
	border-top:1px solid #ebebeb;
}
#page_commentbox .commentlist li:first-child{
    border-top:0;
}

#page_commentbox .comment-author cite{
    font-style:normal;
    font-weight:normal;
    margin:0px 0px 0px 5px;
    padding:0px 0px 0px 0px;
    border-bottom:1px solid #ebebeb;
}

/* Begin Images */
p img {
    padding: 0;
    max-width: 100%;
    }

/*  Using 'class="alignright"' on an image will (who would've
    thought?!) align the image to the right. And using 'class="centered',
    will of course center the image. This is much better than using
    align="center", being much more futureproof (and valid) */

img.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
    }

img.alignleft {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
    }

.alignright {
    float: right;
}

.alignleft {
    float: left;
}
/* End Images */

/* Captions */
.aligncenter,
div.aligncenter {
    clear: both;
	display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    border: 1px solid #ddd;
    text-align: center;
    background-color: #f3f3f3;
    padding-top: 4px;
    margin: 10px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.wp-caption img {
    margin: 0;
    padding: 0;
    border: 0 none;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    padding: 0 4px 5px;
    margin: 0;
}
/* End captions */
#respond{
	max-width: 540px;
    margin:0;
}
#respond h3{
    margin:15px 0px 10px 0px;
    font-size:12px;
}

/* 分页 */
#pagenav {
    width:548px;
    padding:0px 0px 10px 0px;
    float:left;
    clear:both;
    margin:0px 0px 10px 0px;
}

#pagenav .wp-pagenavi {
    clear: both;
}
#pagenav .wp-pagenavi a,#pagenav .wp-pagenavi span {
    text-decoration: none;
    padding: 3px 5px;
    margin: 2px;
}
#pagenav .pages,#pagenav .current{
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border:1px solid #ebebeb;
}
#pagenav .current{
    font-weight: bold;
    font-size:16px;
}
#pagenav .page,#pagenav .nextpostslink,#pagenav .previouspostslink{
    border:0px;
}



#wp_seccode input[type='text']{
    width:55px;
}
#wp_seccode img{
    margin-bottom:-8px;
}
.clean{
    clear:both;
}

.ucd-box{
    font-weight:normal;
    padding:3px;
    
    border-radius: 1px;
    -moz-border-radius: 1px;
    -khtml-border-radius: 1px;
    -webkit-border-radius: 1px;
    
    border:1px solid #c6c6c6;
    background:#F5F6F7;
    box-shadow:0 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
